package com.xca.znb.presenter;

import com.xca.znb.entity.Feedback;
import com.xca.znb.entity.User;
import com.xca.znb.model.imodel.IMyFeedback;

import java.util.List;

public class MyFeedbackPresenter {
    private IMyFeedback iMyFeedback ;
    public MyFeedbackPresenter(IMyFeedback iMyFeedback){
        this.iMyFeedback = iMyFeedback ;
    }
    public User getUserByPhone(String phone) {
        return iMyFeedback.getUserByPhone(phone);
    }

    public List<Feedback> getFeedbackByUser(String user) {
        return iMyFeedback.getFeedbackByUser(user);
    }
}
